package com.arofoxmsn.model.venue;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;

import com.arofoxmsn.model.location.Location;

@Entity
public class Building extends AbstractVenue{
	
	@OneToOne(cascade=CascadeType.ALL,fetch=FetchType.EAGER)
	private Location location;

	public Location getLocation() {return location;}
	public void setLocation(Location location) {this.location = location;}
	
}
